package com.zat.mes.andrmes.data

/**
 * @author  xyan
 * @date :2023-07-19
 * @description:
 */

data   class ProgramSchedulingBean(
    open val id: Long,
    open val collectionId: Long,
    open val code: String,
    open val programStatus: String,
    open val corpId: Long,
    open val varId: Long,
    open val varNo: String,
    open val orderId: Long,
    open val orderNo: String,
    open val monthPlanId: Long,
    open val monthPlanNo: String,
    open val workshopScheduleId: Long,
    open val workshopScheduleDetailId: Long,
    open    val morningEmpId: Long,
    open    val morningEmpName: String,
    open    val nightEmpName: String,
    open    val nightEmpId: Long,
    open    val machineName: String,
    open   val machineId: Long,
    open    val expectDate: String,
    open    val styleNo: String,
    open    val customerName: String,
    open    val colorId: Long,
    open    val color: String,
    open    val sizeId: Long,
    open   val size: String,
    open   val procId: Long,
    open   val procName: String,
    open  val qty: String,
    open  val producedQty: Long,
    open val showStatus:String,
    open val detailList: List<ProgramSchedulingDetail>

)
//   class ProgramSchedulingBeanItem(
//      override val id: Long,
//      override val collectionId: Long,
//      override val code: String,
//      override val programStatus: String,
//      override val corpId: Long,
//      override val varId: Long,
//      override val varNo: String,
//      override  val orderId: Long,
//      override  val orderNo: String,
//      override  val monthPlanId: Long,
//      override   val monthPlanNo: String,
//      override    val workshopScheduleId: Long,
//      override  val workshopScheduleDetailId: Long,
//      override  val morningEmpId: Long,
//      override    val morningEmpName: String,
//      override  val nightEmpName: String,
//      override  val nightEmpId: Long,
//      override  val machineName: String,
//      override  val machineId: Long,
//      override  val expectDate: String,
//      override  val styleNo: String,
//      override  val customerName: String,
//      override  val colorId: Long,
//      override  val color: String,
//      override  val sizeId: Long,
//      override  val size: String,
//      override  val procId: Long,
//      override  val procName: String,
//      override  val qty: Long,
//      override  val producedQty: Long,
//      override  val showStatus:String,
//      override  val detailList: List<ProgramSchedulingDetail>,
//      var show: Boolean = false
//
//  ): ProgramSchedulingBean( id,
//  collectionId,
//  code ,
//  programStatus ,
//  corpId ,
//  varId ,
//  varNo ,
//  orderId ,
//  orderNo ,
//  monthPlanId ,
//  monthPlanNo ,
//  workshopScheduleId ,
//  workshopScheduleDetailId ,
//  morningEmpId , morningEmpName,
//  nightEmpName ,
//  nightEmpId ,
//  machineName ,
//  machineId ,
//  expectDate ,
//  styleNo ,
//  customerName ,
//  colorId ,
//  color ,
//  sizeId ,
//  size ,
//  procId,
//  procName ,
//  qty ,
//  producedQty ,
//  showStatus ,
//  detailList)



data class ProgramSchedulingDetail(
    val id: Long,
    val programId: Long,
    val varDetailId: Long,
    val vatDetailCollectionId: Long,
    val colorId: Long,
    val color: String,
    val sizeId: Long,
    val size: String,
    val materialId: Long,
    val materialCode: String,
    val materialName: String,
    val lotNo: String,
    val qty: String
)